{% extends "base.html" %}
{% block title %}日志{% endblock %}
{% block styles %}
    {{ super() }}
    <style>
        .table>tbody>tr>td {
            text-align: center;
        }
        .table thead>tr>th {
            text-align: center;
        }
        .table thead {
            background: #ebeaea;
        }
    </style>
{% endblock %}
{% block page_content %}
    {{ super() }}
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>Form_data</th>
            <th>Remote_addr</th>
            <th>User_agent</th>
            <th>Result</th>
        </tr>
        </thead>
        <tbody>
        {% for log in logs %}
            <tr>
                <td>{{ log[0] }}</td>
                <td>{{ log[1] }}</td>
                <td>{{ log[2] }}</td>
                <td>{{ log[3] }}</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>
{% endblock %}
